import { createApp } from 'vue';
import App from './App.vue';
import router from './router'; // 导入路由
import pinia from './store'; // 导入 Pinia
import '@/styles/init.scss'
import '@/styles/tailwind.css'
import 'element-plus/dist/index.css';
import Antd from 'ant-design-vue';



import VMdEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';

// highlightjs
import hljs from 'highlight.js';

VMdEditor.use(githubTheme, {
  Hljs: hljs,
});


createApp(App).use(VMdEditor).use(router).use(Antd).use(pinia).mount('#app');
